<!DOCTYPE html>
<html>
    <head>
        <title>个人基本编辑</title>
 		<#include "fsoft-common.ftl" />
    </head>
    <body>
    	<form class="layui-form layui-form-pane" action="" method="post">
        <div class="layui-fluid">
            <div class="layui-row">
	  				<#-- 隐藏域： ID，有ID，是编辑; 无ID，是新增 -->
				  	<input type="hidden" id="id" name="id" value="${currentUser.id}">
				  	<div class="layui-form-item">
				  		<label for="loginAcct" class="layui-form-label">
				  			<span class="x-red">*</span>登录名
			  			</label>
				      	<div class="layui-input-block">
				      		<input type="text" id="loginAcct" class="layui-input" name="loginAcct" value="${currentUser.loginAcct}" lay-verify="required" lay-reqText="登录名不能为空" autocomplete="off" <#if model.id??>disabled</#if>>
				      	</div>
				  	</div>
				  	<div class="layui-form-item">
				  		<label for="loginAcct" class="layui-form-label">
				  			<span class="x-red">*</span>姓名
			  			</label>
	                    <div class="layui-input-block">
	                          <input type="text" id="userName" class="layui-input" name="userName" value="${currentUser.userName}" lay-verify="required" lay-reqText="姓名不能为空" autocomplete="off">
	                    </div>
					</div>
	                <div class="layui-form-item">
	                	<label for="phone" class="layui-form-label">手机</label>
	                    <div class="layui-input-block">
							<input type="text" id="mobile" class="layui-input" name="mobile" value="${currentUser.mobile}" lay-verify="phone" lay-reqText="请输入正确的手机号" autocomplete="off">
	                  	</div>
	              	</div>
	              	<div class="layui-form-item">
	              		<label for="L_email" class="layui-form-label">电子邮箱</label>
	                    <div class="layui-input-block">
	                    	<input type="text" id="email"  class="layui-input" name="email" value="${currentUser.email}" lay-verify="email" lay-reqText="请输入正确的邮箱" autocomplete="off">
	                	</div>
	              	</div>
	              	<div class="layui-form-item">
	              		<label for="L_email" class="layui-form-label">皮肤</label>
	                    <div class="layui-input-block">
	                    	<select name="theme" lay-filter="user-theme">
	                    		<option value="theme1" <#if currentUser.currTheme=='theme1'>selected</#if> >简约黑</option>
	                    		<option value="theme2" <#if currentUser.currTheme=='theme2'>selected</#if> >商务风</option>
	                    		<option value="theme3" <#if currentUser.currTheme=='theme3'>selected</#if> >天籁红</option>
	                    	</select>
	                	</div>
	              	</div>
	                <div class="layui-col-md4 layui-col-md-offset4">
	                	<button  class="layui-btn layui-btn-normal" lay-filter="save" lay-submit="">
	                      	<i class="fa fa-save" aria-hidden="true" ></i> 保存
                      	</button>
	                </div>
			</div>
    	</div>
  		</form>
	</body>
    <script type="text/javascript">
	    layui.config({
	    	base:'${request.contextPath}'+'/plugins/layui/extend/',
	    	contentPath: '${request.contextPath}'
	    });
	</script>
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/user/sysuser-detail.js?v=202002"></script>
</html>
